package com.rc.saas.mini.model.rc;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-07-03
 */

@ApiModel(value=" rc_member_gain_setting_record ", description=" 会员权益设置记录 ")
public class RcMemberGainSettingRecord extends BaseModel{ 

    @ApiModelProperty(value = "权益记录ID")
    private Long memberGainIdRecord;
 
    @ApiModelProperty(value = "会员ID")
    private Long memberId;
 
    @ApiModelProperty(value = "权益ID")
    private Long memberGainId;
 
    @ApiModelProperty(value = "会员等级权益编码,大写V为前缀，如V0-V5")
    private String memberLevel;
 
    @ApiModelProperty(value = "会员等级子级权益编码,大写V为前缀，如V1-1")
    private String levelSub;
 
    @ApiModelProperty(value = "等级权益名称")
    private String gainName;
 
    @ApiModelProperty(value = "权益类型 0，1，2（0充值消费折扣，1充值赠送金额，2生日礼遇 默认0）")
    private String gainType;
 
    @ApiModelProperty(value = "图标")
    private String gainLogo;
 
    @ApiModelProperty(value = "权益说明")
    private String gainExplain;
 
    @ApiModelProperty(value = "排序")
    private Integer sort;
 
    @ApiModelProperty(value = "说明")
    private String remark;
 
    @ApiModelProperty(value = "是否定义为默认规则 0否 1是 默认0")
    private String isDefault;
 
    @ApiModelProperty(value = "状态 0启用 1停用 默认0")
    private String status;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    @ApiModelProperty(value = "退款N次后，再充值消费无折扣")
    private Integer refundCountTarget;
 
    @ApiModelProperty(value = "累计消费可用")
    private Integer consumptionTotal;
 
    @ApiModelProperty(value = "退款次数,充值再无赠送权益金")
    private Integer refundUnhandsel;
 
    @ApiModelProperty(value = "减免类型(0:未选择，1免单，2减免)")
    private String reliefType;
 
    @ApiModelProperty(value = "减免(满)")
    private Integer reliefFull;
 
    @ApiModelProperty(value = "减免(减)")
    private Integer reliefReduce;

    @ApiModelProperty(value = "充值消费折扣(0:未选择，1选中)")
    private String consumeEnum;

    @ApiModelProperty(value = "充值赠送金额(0:未选择，1选中)")
    private String handselEnum;

    @ApiModelProperty(value = "减免(0:未选择，1选中)")
    private String reliefEnum;

    @ApiModelProperty(value = "优惠券ID,关联tenant_ticket_type表")
    private Long ticketTypeId;

    public String getConsumeEnum() {
        return consumeEnum;
    }

    public void setConsumeEnum(String consumeEnum) {
        this.consumeEnum = consumeEnum;
    }

    public String getHandselEnum() {
        return handselEnum;
    }

    public void setHandselEnum(String handselEnum) {
        this.handselEnum = handselEnum;
    }

    public String getReliefEnum() {
        return reliefEnum;
    }

    public void setReliefEnum(String reliefEnum) {
        this.reliefEnum = reliefEnum;
    }

    public Long getTicketTypeId() {
        return ticketTypeId;
    }

    public void setTicketTypeId(Long ticketTypeId) {
        this.ticketTypeId = ticketTypeId;
    }

    public Long getMemberGainIdRecord() {
        return memberGainIdRecord;
    }

    public void setMemberGainIdRecord(Long memberGainIdRecord) {
        this.memberGainIdRecord = memberGainIdRecord;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberGainId() {
        return memberGainId;
    }

    public void setMemberGainId(Long memberGainId) {
        this.memberGainId = memberGainId;
    }

    public String getMemberLevel() {
        return memberLevel;
    }

    public void setMemberLevel(String memberLevel) {
        this.memberLevel = memberLevel;
    }

    public String getLevelSub() {
        return levelSub;
    }

    public void setLevelSub(String levelSub) {
        this.levelSub = levelSub;
    }

    public String getGainName() {
        return gainName;
    }

    public void setGainName(String gainName) {
        this.gainName = gainName;
    }

    public String getGainType() {
        return gainType;
    }

    public void setGainType(String gainType) {
        this.gainType = gainType;
    }

    public String getGainLogo() {
        return gainLogo;
    }

    public void setGainLogo(String gainLogo) {
        this.gainLogo = gainLogo;
    }

    public String getGainExplain() {
        return gainExplain;
    }

    public void setGainExplain(String gainExplain) {
        this.gainExplain = gainExplain;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public Integer getRefundCountTarget() {
        return refundCountTarget;
    }

    public void setRefundCountTarget(Integer refundCountTarget) {
        this.refundCountTarget = refundCountTarget;
    }

    public Integer getConsumptionTotal() {
        return consumptionTotal;
    }

    public void setConsumptionTotal(Integer consumptionTotal) {
        this.consumptionTotal = consumptionTotal;
    }

    public Integer getRefundUnhandsel() {
        return refundUnhandsel;
    }

    public void setRefundUnhandsel(Integer refundUnhandsel) {
        this.refundUnhandsel = refundUnhandsel;
    }

    public String getReliefType() {
        return reliefType;
    }

    public void setReliefType(String reliefType) {
        this.reliefType = reliefType;
    }

    public Integer getReliefFull() {
        return reliefFull;
    }

    public void setReliefFull(Integer reliefFull) {
        this.reliefFull = reliefFull;
    }

    public Integer getReliefReduce() {
        return reliefReduce;
    }

    public void setReliefReduce(Integer reliefReduce) {
        this.reliefReduce = reliefReduce;
    }

}
